Returns the line number and, optionally, the character offset within the line that corresponds to the given character-position.
HRESULT GetLineOfPosition( ULONG cCharacterPosition, ULONG* pcLineNumber, ULONG* pcCharacterOffsetInLine ); |
Parameters
- cCharacterPosition
-
[in] Start location of the character position range.
- pcLineNumber
-
[out] The line number of the range.
- pcCharacterOffsetInLine
-
[in, out] The character offset of the range within line pcLineNumber. If this parameter is NULL, the method does not return a value.